<?php

Route::resource('tags', 'Backend\TagController', ['as' => 'admin']);
Route::resource('comments', 'Backend\CommentController', ['as' => 'admin']);
Route::resource('categories', 'Backend\CategoryController', ['as' => 'admin']);
Route::resource('posts', 'Backend\PostController', ['as' => 'admin']);
//Route::get('admin/posts', ['as'=> 'admin.posts.index', 'uses' => 'PostController@index']);
//Route::post('admin/posts', ['as'=> 'admin.posts.store', 'uses' => 'PostController@store']);
//Route::get('admin/posts/create', ['as'=> 'admin.posts.create', 'uses' => 'PostController@create']);
//Route::put('admin/posts/{posts}', ['as'=> 'admin.posts.update', 'uses' => 'PostController@update']);
//Route::patch('admin/posts/{posts}', ['as'=> 'admin.posts.update', 'uses' => 'PostController@update']);
//Route::delete('admin/posts/{posts}', ['as'=> 'admin.posts.destroy', 'uses' => 'PostController@destroy']);
//Route::get('admin/posts/{posts}', ['as'=> 'admin.posts.show', 'uses' => 'PostController@show']);
//Route::get('admin/posts/{posts}/edit', ['as'=> 'admin.posts.edit', 'uses' => 'PostController@edit']);

